package com.exrobot.module.rbt.enums;

import com.exrobot.framework.common.exception.ErrorCode;
/* RBT 错误码枚举类
 * <p>
 * 机器人 系统，使用 1-050-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== RBT  1-050-100-000 ==========
    ErrorCode RBT_DATA_NOT_EXISTS = new ErrorCode(1_050_100_000, "数据不存在");
    ErrorCode RBT_DELETE_FAIL_APPROVE = new ErrorCode(1_050_100_001, "收款单({})已审核，无法删除");

    ErrorCode RBT_ROBOT_TASK_EXISTS = new ErrorCode(1_050_200_001,"机器人正在执行任务中");
    ErrorCode RBT_ROBOT_TASK_START_FAIL_APPROVE = new ErrorCode(1_050_200_002,"机器人任务({})执行中");
    ErrorCode RBT_ROBOT_TASK_DELETE_FAIL_APPROVE = new ErrorCode(1_050_200_003,"机器人任务({})已完成，无法删除");


    ErrorCode RBT_ROBOT_POINT_NOT_EXISTS = new ErrorCode(1_050_300_001,"机器人({})位置信息不存在");

    ErrorCode RBT_ORDER_NOT_EXISTS = new ErrorCode(1_050_400_001,"订单({})信息不存在");
    ErrorCode RBT_ORDER_SAVECODE_FAIL = new ErrorCode(1_050_400_002,"订单存餐码({})错误");
    ErrorCode RBT_ORDER_FAIL = new ErrorCode(1_050_400_003,"订单({})信息错误");
    ErrorCode RBT_ORDER_SN_NOT_EXISTS = new ErrorCode(1_050_400_004,"订单号信息不存在");
    ErrorCode RBT_ORDER_SN_EXISTS = new ErrorCode(1_050_400_004,"订单号({})的信息已存在");

}
